import java.awt.event.KeyEvent;


public class GameSettings {

	private static int updateRate = 35;
	private static ImageStorage storage;
	private static int screenUpdateRate = 30;
	private static DBComm dbcomm;
	public static int ENTER = KeyEvent.VK_ENTER;
	public static int LEFT = KeyEvent.VK_LEFT;
	public static int RIGHT = KeyEvent.VK_RIGHT;
	public static int UP = KeyEvent.VK_UP;
	public static int DOWN = KeyEvent.VK_DOWN;
	public static int SPACE = KeyEvent.VK_SPACE;
	public static int B = KeyEvent.VK_B;
	public static String name = "Darrien";
	public static String ip = "localhost";
	
	public static int getUpdateRate()
	{
		return updateRate;
	}
	public static String getIp()
	{
		return ip;
	}
	public static void setIp(String address)
	{
		ip = address;
	}
	public static void setUpdateRate(int rate)
	{
		updateRate = rate;
	}
	public static void setImageStorage(ImageStorage storag)
	{
		storage = storag;
	}
	public static ImageStorage getImageStorage()
	{
		return storage;
	}
	public static int getScreenUpdateRate()
	{
		return screenUpdateRate;
	}
	public static void setDBComm(DBComm dbcom)
	{
		dbcomm = dbcom;
	}
	public static DBComm getDBComm()
	{
		return dbcomm;
	}
	public static void setName(String str)
	{
		name = str;
	}
	public static String getName()
	{
		return name;
	}
	
}
